Filter hook 'shortcode_atts_{$shortcode}'

in WP Core File wp-includes/shortcodes.php at line 690

Description

Filters shortcode attributes. If the third parameter of the shortcode_atts() function is present then this filter is available. The third parameter, $shortcode, is the name of the shortcode.

Occurrences

Filename Line Number
wp-includes/shortcodes.php 690

Parameters

Type Name Description
array $out The output array of shortcode attributes.
array $pairs The supported attributes and their defaults.
array $atts The user defined shortcode attributes.
string $shortcode The shortcode name.

PHP Doc

/**
		 * Filters shortcode attributes.
		 *
		 * If the third parameter of the shortcode_atts() function is present then this filter is available.
		 * The third parameter, $shortcode, is the name of the shortcode.
		 *
		 * @since 3.6.0
		 * @since 4.4.0 Added the `$shortcode` parameter.
		 *
		 * @param array  $out       The output array of shortcode attributes.
		 * @param array  $pairs     The supported attributes and their defaults.
		 * @param array  $atts      The user defined shortcode attributes.
		 * @param string $shortcode The shortcode name.
		 */